#define _CRT_SECURE_NO_WARNINGS 1

#include"SeqList.h"

void test01()
{
	SL s;
	SLInit(&s);
	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);
	//SLPrint(&s);
	//SLPopFront(&s);
	////SLPopBack(&s);
	//SLPrint(&s);
	//SLPushFront(&s, 0);
	//SLPushFront(&s, 5);
	//SLPrint(&s);

	SLInsert(&s, 5, 100);
	SLPrint(&s);
	SLErase(&s, 1);
	SLPrint(&s);
	printf("%d", SLFind(&s, 6));
	SLDestroy(&s);
}

int main()
{
	test01();

	return 0;
}